package com.zp.base.service;

import com.zp.base.entity.bo.OperationDiagnosisConfigBo;
import com.zp.base.entity.vo.OperationDiagnosisConfigVo;
import com.zp.common.myBatis.core.page.PageQuery;
import com.zp.common.myBatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 诊断类型、手术字典类型配置Service接口
 *
 * @author zhang peng
 * @date 2023-01-11
 */
public interface IOperationDiagnosisConfigService {

    /**
     * 查询诊断类型、手术字典类型配置
     */
    OperationDiagnosisConfigVo queryById (String orgId);

    /**
     * 查询诊断类型、手术字典类型配置列表(分页)
     */
    TableDataInfo<OperationDiagnosisConfigVo> queryPageList (OperationDiagnosisConfigBo bo, PageQuery pageQuery);

    /**
     * 查询诊断类型、手术字典类型配置列表(不分页)
     */
    List<OperationDiagnosisConfigVo> queryList (OperationDiagnosisConfigBo bo);

    /**
     * 修改诊断类型、手术字典类型配置
     */
    Boolean insertByBo (OperationDiagnosisConfigBo bo);

    /**
     * 修改诊断类型、手术字典类型配置
     */
    Boolean updateByBo (OperationDiagnosisConfigBo bo);

    /**
     * 校验并批量删除诊断类型、手术字典类型配置信息
     */
    Boolean deleteWithValidByIds (Collection<String> ids, Boolean isValid);
}
